package output;

import java.util.List;
import java.util.ArrayList;

public class FrameSet {

	public int tier;
	public List<SubCatFrame> frames = new ArrayList<SubCatFrame>();
	
	public FrameSet(int i) {
		tier = i;
	}
	
	public String toXML() {
		String s = "    <frameset tier=\"" + tier +"\">\n";
		for (SubCatFrame f: frames) {
			s = s + f.toXML();
		}
		return s + "    </frameset>\n";
	}
	
}
